package dto;

public class ResultDto {
	private int code;
	private String messge;
	private Object data;
	
	public ResultDto() {
		super();
	}
	public ResultDto(int code, String messge, Object data) {
		super();
		this.code = code;
		this.messge = messge;
		this.data = data;
	}
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getMessge() {
		return messge;
	}
	public void setMessge(String messge) {
		this.messge = messge;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}

	@Override
	public String toString() {
		return "ResultDto{" +
				"code=" + code +
				", messge='" + messge + '\'' +
				", data=" + data +
				'}';
	}
}
